package Twitter
{
	public class Counters
	{
		import mx.core.Application;
		
		public function Counters()
		{
		}
		
		public function get_totals():void
		{
		/*[Bindable] private var myStatuses:ArrayCollection = new ArrayCollection();
		[Bindable] private var myLinks:ArrayCollection = new ArrayCollection();
		[Bindable] private var myKeywords:ArrayCollection = new ArrayCollection();
		[Bindable] private var myReplies:ArrayCollection = new ArrayCollection();
		
		[Bindable] private var myStat_Counter:int = 0;
		[Bindable] private var myLinks_Counter:int = 0;
		[Bindable] private var myKeywords_Counter:int = 0;
		[Bindable] private var myReplies_Counter:int = 0;*/
		
		try
		{
		
			Application.application.myStat_Counter = Application.application.myStatuses.length;
			Application.application.myLinks_Counter = Application.application.myLinks.length;
			Application.application.myKeywords_Counter = Application.application.myKeywords.length;
			Application.application.myReplies_Counter = Application.application.myReplies.length;
			Application.application.myGroupStatuses_Counter = Application.application.myGroupStatuses.length;
			Application.application.myDirectMessages_Counter = Application.application.myDirectMessages.length;
			
			
			Application.application.message_label = "Messages " + Application.application.myStat_Counter.toString();
			
			//Application.application.direct_label = "Direct (@:"+Application.application.myReplies_Counter+") (d:" +Application.application.myDirectMessages_Counter + ")";
			Application.application.replies_label = "Replies "+Application.application.myReplies_Counter;
			Application.application.private_label = "Direct "+Application.application.myDirectMessages_Counter;
			
			Application.application.message_section_label = Application.application.message_label + " | " + Application.application.replies_label + " | " + Application.application.private_label
			
			Application.application.links_label = "Links (" + Application.application.myLinks_Counter.toString() + ")";
			
			Application.application.keywords_label = "Keywords (" + Application.application.myKeywords_Counter.toString() + ")";
			
			Application.application.group_label = "Groups (" + Application.application.myGroupStatuses_Counter.toString() + ")";
			
			
		}
		catch(ex:Error)
		{
			
			
		}
			
		}

	}
}